<?php
try{
?>
<div  class="box" id="post-view">
    <div class="b-title">
        <h4><?php echo $this->post->title;?></h4>
    </div>
    <div class="b-container">
        <div id="galleria">
            <?php
                $arrImages = explode("@", $this->post->feature_image);
                foreach($arrImages as $image){
                    if($image!=""){
            ?>
            <a href="<?php echo $image;?>">
            	<img title="<?php echo $this->post->title;?>"
            	     alt="anthaiauto.com"
            	     src="<?php echo $image;?>">
        	</a>
            <?php
                    }
                }
                ?>
        </div>
        <script type="text/javascript">

        // Load the classic theme
          Galleria.loadTheme('<?php echo PUBLIC_URL;?>/skins/default/js/galleria.classic.min.js');

          // Initialize Galleria
          $('#galleria').galleria();

        </script>
   
    <?php
    
    echo $this->post->content;

        ?>
    
        <div class="clearfix"></div>
    </div>
    </div>
<?php


}catch(Exception $ex){
    $ex->getTraceAsString();
}
?>
